You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Reverse Method > clVector.Reverse Method ([In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Reverse Method ([In] TOpenCLMtxVec)

Reverse all Vec elements.

Syntax
C#
Visual Basic
public TOpenCLVector Reverse([In] TOpenCLMtxVec Vec);

Store the result in the calling vector elements. The TOpenCLBase.LengthLength and TOpenCLBase.ComplexComplexproperties of the calling vector are set implicitly to match Vec vector. 

 

 

This overload reverses all vector elements.

var a: clVector; begin a.CopyFromArray(TSingleArray.Create(1,2,3,4)); b.Reverse(a); // b = [4,3,2,1] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!